var ioc = {
		conf : {
			type : "com.jse.util.Prop",
			fields : {
				paths : ["jse.properties"]
			}
		},
	    /*dataSource : {
			type : "com.alibaba.druid.pool.DruidDataSource",
	        events : {
	        	create : "init",
	            depose : 'close'
	        },
	        fields : {
	            url : {java :"$conf.get('db.url')"},
	            username : {java :"$conf.get('db.username')"},
	            password : {java :"$conf.get('db.password')"},
	            maxWait: 15000, // 若不配置此项,如果数据库未启动,druid会一直等可用连接,卡住启动过程
	            validationQuery:"select 1",
	            maxActive:100,
	            testWhileIdle:true,
	            filters:"mergeStat",
	            connectionProperties:"druid.stat.slowSqlMillis=2000",
	            defaultAutoCommit:true // 提高fastInsert的性能
	        }
	    },*/
		dataSource:{
			type : "javax.sql.DataSource",
			factory : "com.jse.jdbc.Jdbcs#get"
		},
		dao : {
			type : "com.jse.dao.Dao",
			args : [{refer:"dataSource"}],
			fields : {
				cache : {refer:"cache"}
			}
		},
		aliPay : {
			type : "com.jse.pay.aliPay",
			fields : {
				conf : {refer:"conf"}
			}
		},
		wxPay : {
			type : "com.jse.pay.wxPay",
			fields : {
				conf : {refer:"conf"}
			}
		},
		cache : {
			type : "com.jse.cache.impl.LFUCache",
			args : [1000]
		},
		nashornScriptEngineFactory : {
			type : "jdk.nashorn.api.scripting.NashornScriptEngineFactory"
		},
		nashornScriptEngine : {
			type : "jdk.nashorn.api.scripting.NashornScriptEngine",
			factory : "$nashornScriptEngineFactory#getScriptEngine",
			args : ["--language=es6","--optimistic-types=[true]"]
		},
		taskService:{
			type : "com.jse.timer.TaskService"
		}
};